﻿<?php

include("DbSingleton.php");
include("Model/Relatorio.php");
include("ViewHelper.php");
include("Servicos/RepositorioRelatorio.php");
include("Servicos/ServicoRelatorio.php");

$servico = new ServicoRelatorio();
$servico->gerarRelatorio();

$repositorio = new RepositorioRelatorio();
$relatorio = $repositorio->getRelatorio();
?>

					<table class="grid-table" id="grid_naoquero" border="1" align="center" >
						<tr>
							<th class="colum">HOJE</th>
							<th>MES</th>
							<th>ANO</th>
						</tr>
						<?php 
						echo ViewHelper::geraLinhaRelatorio($relatorio);
						?>
					</table>
